package com.ddxz.demo.shiro.jwt.service;

import com.ddxz.demo.shiro.jwt.dto.LoginInfo;
import com.ddxz.demo.shiro.jwt.entity.UserEntity;
import com.ddxz.tool.web.dto.DdxzResponse;

/**
 * interface description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/11/25
 */

public interface ShiroService {
    DdxzResponse login(LoginInfo info);

    DdxzResponse getUserInfo(String userId);

    DdxzResponse getDeptInfo(String deptId);

    DdxzResponse userList(Integer pageNum, Integer pageSize);

    DdxzResponse saveUser(UserEntity entity);
}
